<?php
$Switcher = $MT_mod_cust['Switcher'];


switch($Switcher->next())
{
	case "":
    case "main":	// Навигация по модулю
        include($Switcher->path_branch('/dsp_main.php'));
    break;
    case "mod":	// Управление модулями
        // include(mst_modpath($MT_mod_name,'fusemod/mod/fbx_subswitch.php'));
		include($Switcher->path_branch('/mod/fbx_subswitch.php'));
    break;
    case "install":	// Навигация по модулю
        include($Switcher->path_branch('/dsp_install.php'));
    break;
    case "allinstall":	// Навигация по модулю
        include($Switcher->path_branch('/dsp_allinstall.php'));
    break;
    case "allinstall_frame":	// Навигация по модулю
        include($Switcher->path_branch('/dsp_allinstall_frame.php'));
    break;
    default:
        $Switcher->subswitch('switch','error','switch.php',0,null,'404');
    break;
}
/*
echo mst_modpath($MT_mod_name,'fusemod/mod/../../')."<br />";
mst_modpath_parse(__FILE__);
echo '<br />';
$p = mst_modpath_parse(__FILE__);
print_r($p);
echo '<br />';
$p = mst_modpath_parse('/home/alex/my_files/www/my-site-srv/head/my-site/inc/mod/setup');
print_r($p);
echo '<br />';
$p = mst_modpath_parsethis();
print_r($p);
*/
// echo $Switcher->path_branch('/mod');
// echo '<br />';
// echo $Switcher->path_branch('switch.php');
?>